package com.bigShen.pattern.observer.proxy.cglib;

/**
 * @author : lei.shen
 * @date : 2018/10/7
 */
public class CGLIBObserverMainTest {

    public static void main(String[] args) {

        MouseServiceB element = new MouseServiceB();

        MouseServiceB proxyElement = (MouseServiceB) new MouseServiceCGLIB(element).getInstance();

        proxyElement.dbClick();
    }

}
